package com.jvm123.blog.service

import com.jvm123.blog.entity.Term

/**
 *
 * @author yawn http://jvm123.com
 *     2019/10/23 17:16
 */
interface TermService {

    List<Term> findCategories()

    List<Term> findTags()

    List<Long> findPostIdByTag(String tag)

    List<Long> findPostIdByCategory(String category)

    Term findBySlug(String slug)
}
